Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing NURB Curves


Q3NURBCurve_GetControlPoint

You can use the Q3NURBCurve_GetControlPoint function to get a four-dimensional control point for a NURB curve.

TQ3Status Q3NURBCurve_GetControlPoint (
TQ3GeometryObject curve, 
unsigned long pointIndex, 
TQ3RationalPoint4D *point4D);
curve
A NURB curve.
pointIndex
An index into the controlPoints array of control points for the specified NURB curve.
point4D
On exit, the control point having the specified index in the controlPoints array of control points for the specified NURB curve.
DESCRIPTION
The Q3NURBCurve_GetControlPoint function returns, in the point4D parameter, the four-dimensional control point of the NURB curve specified by the curve parameter having the index in the array of control points specified by the pointIndex parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996